home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / animutil / playsr / playsr.arc / cell.h < prev    next >
C/C++ Source or Header  |  1988-11-10  |  1KB  |  47 lines

  1. #define    GLB_EDGING    0
  2. #define    GLB_PERTURB    GLB_EDGING + 1
  3. #define    GLB_SKY_BLEND    GLB_PERTURB + 1
  4. #define    GLB_LENS    GLB_SKY_BLEND + 1
  5. #define    GLB_FADE    GLB_LENS + 1
  6. #define    GLB_SIZE    GLB_FADE + 1
  7. #define    GLB_RESOLVE    GLB_SIZE + 1
  8. #define    GLB_EXTRA    GLB_RESOLVE + 1
  9.  
  10. #define    NUM_GLB_PROPS    (GLB_EXTRA + 1)
  11.  
  12. #define    GLB_FOCAL    0
  13. #define    GLB_FADE_AT    1
  14. #define    GLB_FADE_BY    2
  15.  
  16. #define    NUM_GLB_PARAM    3
  17.  
  18. #define    NUM_GLB_COLORS    4
  19.  
  20. /*
  21.     Zen, Hor colors        remember, these are 8 bit values
  22.     Fog     color
  23.     Ambient     color
  24. */
  25.  
  26. typedef    struct    datablock {
  27.     OBJPTR    Head;                /*    4 bytes        */
  28.     UBYTE    Props [NUM_GLB_PROPS];        /*    8 bytes        */
  29.     COLOR    Colors [NUM_GLB_COLORS];    /*   24 bytes        */
  30.     float    Global [NUM_GLB_PARAM];        /*   12 bytes        */
  31.     VECTOR    Camera;                /*   12 bytes        */
  32.     VECTOR    Rotate;                /*   12 bytes        */
  33.     char    Brushes[8][80];            /*  640 bytes        */
  34.     char    Stencils[8][80];        /*  640 bytes        */
  35.     char    Textures[8][80];        /*  640 bytes        */
  36.     char    TrackName[18];            /*   18 bytes        */
  37.     STORY    *CStory;            /*    4 bytes        */
  38. } DATA, *DATAPTR;                /* 2014 bytes total    */
  39.  
  40. typedef    struct    cells    {
  41. struct    cells    *Prev;
  42. struct    cells    *Next;
  43.     ULONG    Start, Finish;
  44.     UWORD    CellNum;
  45.     UWORD    FrameNum;
  46. } CELL, *CELLPTR;
  47.